package assignment3;

/*
 * Created By: Andrew Perdec
 * Sheridan ID: 991 351 681
 * Date Created: Sep 30, 2014
 * Version: 1.0
 * Email: aperdec@gmail.com
 */
/**
 *
 * @author aperdec
 */
public class Account {

    private String username;
    private String password;
    private String email;
    private String admin;

    public Account(String username, String password, String email, String admin) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.admin = admin;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    @Override
    public String toString() {
        return "Account{" + "username=" + username + ", password=" + password + ", email=" + email + ", admin=" + admin + '}';
    }
}
